import sys
import os
from PyQt5.QtWidgets import *


class MainForm(QWidget):
    def __init__(self, name='MainForm'):
        super(MainForm,self).__init__()
        self.setWindowTitle(name)
        self.cwd = os.getcwd() # 获取当前程序文件位置
        self.resize(500, 500)   # 设置窗体大小

        self.initUI()

    def initUI(self):
        pass$END$


if __name__=="__main__":
    app = QApplication(sys.argv)
    mainForm = MainForm('$VAR_TITLE$')
    mainForm.show()
    sys.exit(app.exec_())

